/**
 * Created with IntelliJ IDEA.
 * Description:
 * User:
 * Date: 2024-08-05
 * Time: 14:47
 */
public class Test {
    public static void main(String[] args) {
        MyArrayList myArrayList = new MyArrayList();
        myArrayList.add(1);
        myArrayList.add(2);
        myArrayList.add(3);
        myArrayList.add(4);
        //myArrayList.add(5,6);
        myArrayList.set(1,6);

        myArrayList.display();

    }
}
